[VERSN2]
//deletes the contents of the CARS\<XNAME> (eg CARS\INTEGRALS) folder, then the <XNAME> folder itself
erase_file absolute CARS\<XNAME>\GEOMETRY.BIN
erase_file absolute CARS\<XNAME>\TEXTURES.BIN
erase_file absolute CARS\<XNAME>\VINYLS.BIN
erase_folder absolute CARS\<XNAME>

//deletes the CarTypeInfos and DBModelParts nodes
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos <XNAME>
remove_collection GLOBAL\GLOBALB.LZC DBModelParts <XNAME>

//this is a check for FRONTB.lzc files modified with TexEd, since it changes the collection name of the textures to DEFAULT for some forsaken reason
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
//deletes the secondary logo
remove_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_<XNAME>
//(optional) removes manufacturer logo (eg CARSELECT_MANUFACTURER_BMW; remove double slashes at the beginning to use)
//remove_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_<MANUFACTURER>
else
else
remove_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_<XNAME>
//remove_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_<MANUFACTURER>
end

//(optional) deletes the part override node
//remove_collection GLOBAL\GLOBALB.LZC SlotOverrides <XNAME>_PART_SPOILER

//deletes the car name's text strings
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\SPANISH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\DANISH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\DUTCH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\FRENCH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\GERMAN.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\ITALIAN.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\KOREAN.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>
remove_string LANGUAGES\SWEDISH.BIN STRBlocks GLOBAL CAR_NAME_<XNAME>

//deletes the ##.ini file in the scripts\carsounddata\cardatamapping folder of NFSU2 
erase_file absolute scripts\carsounddata\cardatamapping\##.ini
//deletes the <XNAME>.ini in the scripts\carsounddata\cartypemapping\ folder of NFSU2
erase_file absolute scripts\carsounddata\cartypemapping\<XNAME>.ini
//deletes the <XNAME>.ini file in scripts\UnlimiterData\ folder of NFSU2
erase_file absolute scripts\UnlimiterData\<XNAME>.ini